package com.example.jobdemo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Table: user_comment
 */
@Data
public class UserComment extends Page implements Serializable {
    /**
     * 数据ID
     *
     * Table:     user_comment
     * Column:    user_comment_id
     * Nullable:  false
     */
    private Long userCommentId;

    /**
     * 用户ID
     *
     * Table:     user_comment
     * Column:    user_id
     * Nullable:  false
     */
    private Long userId;

    private String userName;

    private String userPower;

    /**
     * 企业ID
     *
     * Table:     user_comment
     * Column:    company_id
     * Nullable:  false
     */
    private Integer companyId;

    /**
     * 用户评论
     *
     * Table:     user_comment
     * Column:    user_comment
     * Nullable:  false
     */
    private String userComment;

    /**
     * 提交时间
     *
     * Table:     user_comment
     * Column:    submit_time
     * Nullable:  false
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date submitTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table user_comment
     *
     * @mbggenerated Mon Jun 28 20:45:27 CST 2021
     */
    private static final long serialVersionUID = 1L;
}